package com.zsc.externalservice.services;

import com.zsc.externalservice.entity.external.CustomerDetails;
import com.zsc.externalservice.entity.external.CustomerInfo;
import com.zsc.externalservice.entity.external.CustomerInfo_2;
import com.zsc.externalservice.entity.external.SalesSummary;
import com.zsc.externalservice.entity.vo.CustomerVO;

import java.util.List;

public interface CustomerService{

    CustomerInfo findCustomerByCustUuid(String custUuid);

    CustomerInfo_2 findCustomerByCustUuid_2(String custUuid);

    List<SalesSummary> getOrderByCustUuid(String custUuid);

    CustomerDetails getCustomerDetailsCustUuid(String custUuid);

    /**
     * 根据用户uuid获取用户信息
     * @param custUuid
     * @return
     */
    CustomerVO getCustomerInfo(String custUuid);

    /**
     * 获取所用一般零售用户
     * @return
     */
    List<CustomerVO> getAllCustomer();

    /**
     * 根据客户经理名称获取客户经理uuid
     * @param name
     * @return
     */
    String getManagerByName(String name);

    /**
     * 根据许可证号获取客户信息
     * @param licenseCode
     * @return
     */
    CustomerVO getCustomerByLicenseCode(String licenseCode);
}
